package J_S.cours1.Sudoku;


public class Grille9X9 {
	
	private int[][] table;
	
	public Grille9X9(int[][] tableARecopier)throws IllegalArgumentException{
		if(tableARecopier.length!=9)throw new IllegalArgumentException();
		for(int i = 0;i<9;i++){
			if(tableARecopier[i].length!=9)throw new IllegalArgumentException();
		}
		table = new int[9][9];
		for (int i = 0; i < 9; i++) {
			for (int j = 0; j < 9; j++) {
				if(tableARecopier [i][j]<1||tableARecopier[i][j]>9)throw new IllegalArgumentException();
				table[i][j]=tableARecopier[i][j];
			}
		}
	}
	
	private boolean ligneCorrecte(int ligne){
		// A COMPLETER
		return true;
	}
	
	private boolean colonneCorrecte(int colonne){
		// A COMPLETER
		return true;
	}
	
	// verifie le bloc qui commence aux lignes et colonnes passees en parametre
	private boolean blocCorrect(int ligne, int colonne){
		// A COMPLETER
		return true;	
	}
	
	public boolean estUnSudoku(){
		// A COMPLETER
		return true;
	}
	
	public boolean estUnSudokuDiagonal(){
		// A COMPLETER
		return true;
	}
		
	public boolean estUnHyperSudoku(){
		// A COMPLETER
		return true;
	}
	
}
